package soar.template.springboot.mq.rabbitmq.consumer.appconfig.rabbitmq;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component("appconfig.rabbitmq")
@ConfigurationProperties("rabbitmq")
public class RabbitMQ
{
    public ConsumerConfig consumerMain;

    public ConsumerConfig getConsumerMain()
    {
        return consumerMain;
    }

    public void setConsumerMain(ConsumerConfig consumerMain)
    {
        this.consumerMain = consumerMain;
    }

}
